package edu.mit.media.fv.aqview
{
	import edu.mit.media.fv.aqwidgets.AQWidget;
	
	import flash.events.MouseEvent;
	import edu.mit.media.fv.blocks.*;
	import edu.mit.media.fv.components.*;
	import edu.mit.media.fv.events.*;
	import edu.mit.media.fv.fluidspace.*;
	import edu.mit.media.fv.aqwidgets.*;
	
	import flash.display.*;
	import flash.events.MouseEvent;
	import flash.text.*;

	public class AQViewer extends AQWidget
	{
		protected var id:int = 15;
		public function AQViewer()
		{
			super();
		}
		public function processGood(event:MouseEvent):void{
			var data:Object = new Object();
			data.command = FluidConstants.REQUEST_EDIT_QUALITY;
			data.quality = 1;
			data.id = this.id;
			var fvne:FVNetworkEvent = new FVNetworkEvent(data);
			FluidEventHandler.dispatchEvent(fvne);
		}
		public function processBad(event:MouseEvent):void{
			var data:Object = new Object();
			data.command = FluidConstants.REQUEST_EDIT_QUALITY;
			data.quality = -1;
			data.id = this.id;
			var fvne:FVNetworkEvent = new FVNetworkEvent(data);
			FluidEventHandler.dispatchEvent(fvne);
		}
		
	}
}